<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%@taglib uri="http://www.springframework.org/tags" prefix="spring"%>
<%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<div class="row-fluid">
	<c:if test="${contacts == null}">
		<p>No one contact here</p>
	</c:if>
	
	<c:if test="${contacts != null}">
		<c:forEach items="${contacts}" var="contact" varStatus="status">
			<input type="checkbox" name="contacts" value="${contact.id}">  ${contact.firstName} - ${contact.lastName}<br />
		</c:forEach>
	</c:if>
</div>